import { EQEnvKind } from ".";

export function getKindDisplayName(kind: EQEnvKind): string {
    for (const [candidate, value] of [
        [EQEnvKind.Conda, 'conda'],
        // For now we treat OtherVirtual like Unknown.
    ] as [EQEnvKind, string][]) {
        if (kind === candidate) {
            return value;
        }
    }
    return '';
}

export function getPrioritizedEnvKinds(): EQEnvKind[] {
    return [
        EQEnvKind.Conda,
        EQEnvKind.OtherGlobal,
        EQEnvKind.Unknown,
    ];
}
